import fetch from 'common/src/utils/fetch'

export function getPageTask(data) {
    return fetch({
        url: '/api/cronservice/task/query',
        method: 'post',
        // headers: {'Content-Type': 'multipart/form-data'},
        data
    })
}

export function getOneTask(data) {
    return fetch({
        url: '/api/cronservice/task/1',
        method: 'get'
    })
}